package org.nimi317.web_gis.form.post;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.nimi317.web_gis.Enum.DistanceEnum;
import org.nimi317.web_gis.Enum.PollutionField;
import org.nimi317.web_gis.Enum.PollutionRange;

/**
 * @author thunderobot
 */
@Data
public class IdwPost {

    //分辨率
    @NotNull
    @Min(0)
    private Float width;

    //幂函数
    @NotNull
    @Min(0)
    private Float power;

    //距离算法
    @NotNull
    private DistanceEnum distance;

    @NotNull
    private PollutionRange range;

    @NotNull
    private PollutionField field;
}
